package com.tbvtc.agriculturalcreditchainserver2025.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class landInit {
    @Schema(description = "农户id")
    private Integer id;
    @Schema(description = "土地名称")
    private String landName;
    @Schema(description = "土地面积")
    private String landsize;
    @Schema(description = "土地质量")
    private String landQuality;
    @Schema(description = "土地图片")
    private String landImage;
    @Schema(description = "土地气候")
    private String climate;
    @Schema(description = "土地类型")
    private String previousCro;
    @Schema(description = "土地状态 0启，1闲，2弃")
    private String isActive;
    @Schema(description = "土地地址")
    private String landAddress;
    @Schema(description = "是否种植 0否1是")
    private Integer  isPlanting;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description="经度")
    private Double longitude;
    @Schema(description="纬度")
    private Double latitude;
    @Schema( description = "省编码")
    private String provinceCode;
    @Schema( description = "市编码")
    private String cityCode;
    @Schema( description = "区编码")
    private String areaCode;

}
